Made shutdown a more graceful process ISSUE=6516
Made shutdown a more graceful process ISSUE=6516

This gives in-flight messages more of a chance to complete before tearing
the process down.

GlobalNOC/simp,GlobalNOC/simp,GlobalNOC/simp,GlobalNOC/simp,GlobalNOC/simp