Added close function to cancel timers and events.
Merge pull request #5 from fiLLLip/Development

Added close function to cancel timers and events.