fix for graceful disable of servicegroups
Merge pull request #24 from djinh/master

fix for graceful shutdown of servicegroups