Add restart() to recover from VM crash