def resurrect(self, force=False):
<EOL>if self.dead.empty():<EOL><INDENT>return<EOL><DEDENT>try:<EOL><INDENT>timeout, connection = self.dead.get(block=False)<EOL><DEDENT>except Empty:<EOL><INDENT>return<EOL><DEDENT>if not force and timeout > time.time():<EOL><INDENT>self.dead.put((timeout, connection))<EOL>return<EOL><DEDENT>self.connections.append(connection)<EOL>logger.info('<STR_LIT>', connection, force)<EOL>
Attempt to resurrect a connection from the dead pool. It will try to
locate one (not all) eligible (it's timeout is over) connection to
return to th live pool.

:arg force: resurrect a connection even if there is none eligible (used
    when we have no live connections)