Replaced LockedQueue ACE lock with std::mutex