def close(self):
        if self.fd:
            os.close(self.fd)
            self.fd = None
Helper function to call initdb
dataset/ETHPy150Open ioflo/ioflo/ioflo/aio/serial/serialing.py/ConsoleNb.close--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/postgres.py/_run_initdb