mod: only use milliseconds for timeout