interval and timeout as configuration value