How to receive a notification for an event within a certain time period (e.g. window is open for 15 mins)?