Adding a static to encapuslated the mutexcreation