writeTermAndReply

Formats term via formatter and writes it to channel, replying success, or failing on a closed channel.