Fix race condition on SbtConnectorProxy close