Close channel

Close channel after usage to prevent exceptions as described in #378