BS-7122, change work service to clear queue before when we stop the work service