ensured ServiceContainer.kill() only executes once
addressing code review
Merge pull request #75 from onefinestay/fix-container-kill

ensured ServiceContainer.kill() only executes once