`ssh_channel_free()` is never sent, therefore channels will never be freed. It leads to a memory leak.
ssh_channel_free()is never sent, therefore channels will never be freed. It leads to a memory leak.