Fix TrainSidebar SEGV on Exit

.. by stopping any active session in the close() method
   and not the destructor.