Fixed problem with unsubscribing socket from channel