allow timeout to be set when defineing the object

just wanted the timeout to be easy to set when creating the connection object