def sleep(self, timeout=None):
        if (self.running):
            threading.current_thread().wait(timeout)
Calls the wait function on the current ManagedThread
dataset/ETHPy150Open StorjOld/downstream-farmer/downstream_farmer/utils.py/ThreadManager.sleep