panic on session closed