scheduler: various fixes
- new tracking on start/stop processing
  (a restarted circuit waits when previous terminates)
- avoiding the duplicities when command is restarted
- fixed time intervals selecting on waiting circuits