cancel not working properly when launching a new vm