added support to gracefully restart server (for APC clear) before update
added support for coming out of maintenance mode