Reconnect automatically after a network timeout