add retry mechanism for master when no data is found