Moved location of pika callback cleanup in transport close

This is an attempt to fix up OOIION-693. Current working theory is
that this cleanup we do isn't executed until long after we've closed
and reacquired the same channel number in another greenlet. Then,
when this executes, it wipes out the working pieces of delivery.