add a timeout to the outgoing connect