Same thing with mutexes - significantly slower but correct