Replace trap_Milliseconds with std::chrono