Propagator: Fix crash when logging out during upload

Fixes #1957