Set script timeout.