Clears timer properly.

Passing intervalId as argument to the onComplete function.

fixes #2