dont build prepare tar if nothing changed and improve retry strategies