add a patch to check if the global channel container lock can be acquired