fixing a bug with indexing service not correctly killing worker nodes