Make StateMachine::GetConfiguredHoldTime robust by using atomic.