Use Once instead of hacky mutex thing.