Fire onDisconnect instead 'Socket closed' Exception