Allows to increase reference counting for the provided channel.
If the reference count for the channel provided reach 0, the channel is deallocated.
The function is thread-safe, internally protected with mutex.