Re-raise error after cleanup of chunks.