fix regression in central agent : better way of detecting whether central agent is enabled in config, then wait for it for 60 seconds