fix a logging bug when restarting a lost worker