Added a safety check to the request handling loop in ZUDI Index server.