fix closing channel not handling pending puts properly