delete timer in close()