remove copy of vm from thread