Added option in config file for maximum delay.