Added occasional polling for sending alerts