daemon: properly restart file upload when UI requests it