Adds .end() method to scheduler.
Enables WebWorker clocks to be cleaned up behind the scenes.