Code snippet that shows how to close a timer.
Use Close() (from the RHandleBase base class) to close the time after it has been used.
timer.Close(); // close timer