Register the write end of pipe in the event loop.
asyncio/loop.connect_write_pipe
loop.connect_write_pipe