In v221 the shutdown behaviour was refactored so shutdown behaviour was
more reliable in stopping a process group. This exposed an existing bug
where the unload API had a timeout of 0 that snuck in during the big
refactor.
- set a default timeout of 10 seconds for unloads called via the API
- add logging around shutdown routine
updates: #807, #808fixes: #827