Restart monitor as part of the upgrade process (fixes #682)