change timeout to check on the connection connect method