add a default timeout for the case where none is supplied.