Callback and interval cleared

With an optional callback function, and also clear the interval once final date is reached.
Merge pull request #9 from citmusa/master

Callback and interval cleared