Remove the underlying :attr:`connection` from the connection
        :attr:`pool`.

async def detach(self, discard=True):
        '''Remove the underlying :attr:`connection` from the connection
        :attr:`pool`.
        '''
        if discard:
            return self.close(True)
        else:
            self.connection._exit_ = False
            return self