Fix issue with start/stop of upload service.