Handle connection timeouts