Experimental min timeout control

Also fixed math for timeout progress bar (5s timeout was actually
lasting less than 3).