add mutex to real class instead of mock