flush delete queue after encode is complete