experiment with trapping errors and clearing session before app signal