figured out why the onLeave/onDisconnect was hanging, it was because of a silent catch, reactor was not imported, so when I called reactor.stop an exception was raised indicating that the class did not exist, but, that exception was eaten by something higher up the food chain.