Fixed access to the locked channel (issue #3093)