If we passed the bucket to ap_pass_brigade (because it was EOS or FLUSH), we shouldn't delete it. Thanks to Doug for pointing out that something broke.