'Recycle a connection. Mark it as available for being reused.'

def free_connection(self, conn):

    with self._lock:
        if (conn in self._used_cons):
            self._used_cons.remove(conn)
            self._free_conns.append(conn)
