unix: Use rw_timeout for setting the connect timeout