Fix reconnect on ping timeout