Handle SSL/TLS timeout