service thread idea deprecated