<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_links(self):
 """ Close all open links """

        for uri, cf in self._cfs.items():
            cf.close_link()

        self._is_open = False