Graceful shutdown improvements
WFCORE-58 Don't use toUpperCase() without specifying locale
Merge pull request #113 from ctomc/mgmt-fixes

WFCORE-58 Don't use toUpperCase() without specifying locale
Merge pull request #111 from stuartwdouglas/master

Graceful shutdown improvements