async def wait_and_quit(loop):
from pylp.lib.tasks import running<EOL>if running:<EOL><INDENT>await asyncio.wait(map(lambda runner: runner.future, running))<EOL><DEDENT>
Wait until all task are executed.