Timer delegate.