async def METHOD_NAME(sig):
    print(f"Received shut down signal {sig}")
    if not self._stopping:
        self._stopping = True
        await self.session.shutdown()
        print("Tribler shut down")
        get_event_loop().stop()
        self.process_manager.current_process.finish()