fixed unlocking shmem during channel tree traversal