<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(self):
 """Close the tough cursor. It will not complain if you close it more than once. """

        if not self._closed:
            try:
                self._cursor.close()
            except Exception:
                pass
            self._closed = True