Remember if you have closed this channel allready

Patch for issue #49