close channel if there is no active channel

since future connections will fail when there is no connections active
(a problem with subChannelId 0)