parametrized the default timeout constant