Close the channel after committing