free channel allocated resources.
Free channel resources. Vortex Library consumers must not call this function directly.
In order to close and free the channel properly vortex_channel_close must be used.