Adding API for graceful shutdown of client managers.
Merge branch 'master' of https://github.com/anschauhan/hecuba