@staticmethod
def quit(session):
    """
        Stops the current shell session (raises a KeyboardInterrupt exception)
        """
    session.write_line('Raising KeyboardInterrupt to stop main thread')
    raise KeyboardInterrupt()
