make sure scheduler isnt running on its own during unit tests.