Adds long polling for notifications to the service. This reduces the server load.