close method in NotificationRunnable