fixed remote logger remove failure when sentry connection is reset