fix to retry for shib error in /execute, and insert error log history into DB