[FaceRest] Implement stopping worker threads