final changes ensuring CacheWord service is stopped on exit