only allow 1 instance of a function to run at once asyncio python code example Example: async sleep python await asyncio.sleep(1)