Added a channel.close() to a channel unit test to prevent unclosed sockets from hanging around.