Add comment for the reason to introduce restart_worker method