code: public void close() {
          LOGGER.debug("Closing connection to Bugsnag");
          if (config.delivery != null) {
              config.delivery.close();
          }
          ExceptionHandler.disable(this);
      }
docs: Close the connection to Bugsnag and unlink the exception handler.