cleanup shutdown logic of DoveMQ sample subscribers and consumers