Declare timer sentinel, remove force to bool, set NOMINMAX, use std::min.