Added timeout for notification.