Setting and respecting timeout values in scripts.