Add async support to the python dispatcher library