Fix possible heapWG deadlock
Created by: ChrisSchinnerl
When exists == false
we return without dropping the chunk in managedProcessUploadChunk
. Since this function is only ever called once on a chunk, it will never be dropped after that and heapWG.done()
will never be called. This results in a deadlock when shutting down the renter.