def close(self):
        if self._connection:
            self.disconnect()
        self._connection = None
Close the connection if it is open.
dataset/ETHPy150Open disqus/nydus/nydus/db/backends/base.py/BaseConnection.close