<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def close_all(self):
 """close all open connections"""

        for host, conns in self._cm.get_all().items():
            for h in conns:
                self._cm.remove(h)
                h.close()