Stops the channel called channel being available in the current thread and instead makes it available in the thread called id.