def _disconnect(self):
        if self.connection is not None:
            self.connection.shutdown()
            self.connection.close()
The result method which returns a context manager
dataset/ETHPy150Open stephenmuss/django-ios-notifications/ios_notifications/models.py/BaseService._disconnect--crossover with--dataset/ETHPy150Open thefab/tornadis/tornadis/utils.py/ContextManagerFuture.result