Make pause for autodiscovery configurable via a flag