Set timeout.