def close(self):
for pool in list(self.__pool.values()):<EOL><INDENT>while not pool.empty():<EOL><INDENT>conn = pool.get_nowait()<EOL>try:<EOL><INDENT>self._close(conn)<EOL><DEDENT>except Exception:<EOL><INDENT>pass<EOL><DEDENT><DEDENT><DEDENT>self.__poolSize.clear()<EOL>
Closes the connection to the database for this connection.

:return     <bool> closed