added customizable retry value for nms unresponsiveness