pause the VM only if it was already running (fixes #1)