add option for channel buffer size
don't do ioproc work if reply channel is closed already