def release(self, connection):
    'Releases the connection back to the pool.'
    self._checkpid()
    if (connection.pid != self.pid):
        return
    try:
        self.pool.put_nowait(connection)
    except Full:
        pass
Releases the connection back to the pool.
def release(self, connection):
    
    self._checkpid()
    if (connection.pid != self.pid):
        return
    try:
        self.pool.put_nowait(connection)
    except Full:
        pass