Unknown crash on exit error happens intermittently