This pattern to store the `NodeConnection` in the promise is a little bit convoluted. `NodeConnection.send()` ultimately checks the connected state, there's no reason to embed it here for every `ExtensionManagerDomain` call.