Set timeouts.