Allow passing in a timeout for our sockets