def close_when_done (self):
        self.producer_fifo.append(None)
automatically close this channel once the outgoing queue is empty
dataset/ETHPy150Open Southpaw-TACTIC/TACTIC/src/context/client/tactic-api-python-4.0.api04/Lib/asynchat.py/async_chat.close_when_done