fix a bug that may lead to inconsistency of prod pointer
add safe return with error while axi doens't respond for a while