thread safe fix for cancan bridge