disable recursive locking detected warning