first argument to channel.close must be short.  Closes #47