Fix reconnection