slight performance gain: avoid locking channels twice