ensured ServiceContainer.kill() only executes once