Fixed bug on disconnect that stopped all resources raising Disconnect event