Set the socket timeout duration in seconds