time.sleep not time.wait