Updating qs mutex for new API.