scheduler: do not restart stopped commands by mainloop