Make the connection timeout a default parameter of the constructor