client reconnection fix