<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clear(self):
 """Clear pool connections."""

        while not self._pool.empty():
            conn = yield from self._pool.get()
            self._do_close(conn)