exception handling while suspending vm