[minor] configurable detection of multiple agents in Scheduler