[FaceRest::Worker] Add a tentative implementation of mainThread()