WFCORE-72 deploy --force broken in CLI GUI
Add shutdown hook to close client connection.
Merge pull request #133 from ssilvert/WFCORE-72-cli-gui-force

WFCORE-72 deploy --force broken in CLI GUI