Added --timeout_sec command line argument to control browser timeout.