1. Tasks are running periodically properly now.
2. Can stop tasks