Mutex lock implemented, only getting ~142K/sec