add a timeout for notification