Fix issue #87, second chunked upload fails after successful first