Implement connection timeouts