Timer is cancelled upon exit