Fixed asyncio crash when sending buffered data after connection was terminated.