A very simple timer for events