clean up retry