Improved: before attempting to close a channel, we check whether the connection is still alive, otherwise the operation can block for a long time, which is not ideal
Before attempting to unbind a queue, we check whether the connection is alive or not - we raise an exception in this case
Reverted connection checks, as they provide no advantage for our needs