Reset the async state and frame info for still running threads when resuming the vm in sdb. Fixes #4737.
Add a test for #4737.