Feature/gc on read delete

If a delete occurs during an upload, when the upload finishes it should not be recognized as active. It will be garbage collected on the next read.

See #533