How To Stop Async Function Python