def on_delete(self, forced):
        # Do not remove connection if it was not forced and there's running connection
        if not forced and self.handler is not None and not self.is_closed:
            self.promote()
        else:
            self.close()

    # Add session
:rtype: str
dataset/ETHPy150Open mrjoes/tornadio2/tornadio2/session.py/Session.on_delete--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/probability.py/MLEProbDist.__repr__