Allow maximum runtime to be specified on the commandline, in seconds (0 = forever)