Use std::lock_guard instead of locking and unlocking the mutex in our read call