correct semaphore count in channel creator. The close of a channel was
fired from a different thread, making the channel count inacurate
Proper channel closing handling also with custom threading