closechannel closeAfterSend