Fix "Object Garbage Collected" exception when trying to query the status of a dead thread. Required for unity (possible other older mono versions).
Fix "InvalidOperation" exception generated from trying to resume and already running VM.