Set deadline on tls client