Enroot and deroot channels when threads wait for them