Added the option to extend the default timeout when attempting to connect to a server