Removed unecessary time.sleep() on the python side