finish timer and logger