async def release_cursor(self, cursor, in_transaction=False):
conn = cursor.connection<EOL>cursor.close()<EOL>if not in_transaction:<EOL><INDENT>self.release(conn)<EOL><DEDENT>
Release cursor coroutine. Unless in transaction,
        the connection is also released back to the pool.