'Called before the connection is closed
This method gets called once the connection close has been requested
but before the connection is actually closed.  It provides an
opportunity to clean up any terminal resources before the shell is
actually closed'

def on_close_shell(self):

    pass
