fixed the reconnection bug

It is due to the kryonet lib doesn't create new thread for each callback
listener, the old code blocks the network update thread.