Move MutexMixin to a more appropriate module