Resolves #1841: Allow server to be placed in maintenance mode

maintenance mode tool handles exceptions better now.