restresource deprecation fix
added retrying to detailed report dao