adding service wait task.