Allow the default wait time to be configurable