Don't crash when pausing in a untrusted session.
