Bugfix: Session resume stopped on application error