HyperVM: VPS Stuck During Migration

We have had a few issues lately when doing migrations from one server to another in HyperVM. It seems for some reason HyperVM just shows the VPS as being migrated and never leaves this state (for several hours). To fix this you can just run the following command on the HyperVM master:

pkill -f switchserver.php

IMPORTANT: Make sure you keep a backup of your VPS!