LPS-37434 Remote staging in background

Hey Julio,

This PR is about turning the remote staging into a background task. It is pretty straightforward, nothing big deal.

Thanks,

Máté