24.03.2020, 07:09
You have some script code in common functions which gets executed when any script runs, including os.sleep(5) call. There should not be any code that's executed directly there. Remove it and your script will work without delays.