In the scheduler.go the exit message should have more priority than the periodic tick message received for each polling interval.
Now the two messages are received in a non deterministic way, so the tool sometimes is not exiting when you hit ctrl +c.
In the scheduler.go the exit message should have more priority than the periodic tick message received for each polling interval. Now the two messages are received in a non deterministic way, so the tool sometimes is not exiting when you hit ctrl +c.