Timer.with_timer takes miliseconds instead of seconds
Add command-line option max-secs