Nano-S account closing

I know it is an old bone, but I would like to close some Algorand accounts, protected by a Nano-S.
I have the 24 word passphrases of the Nano-S.

Is there any method I can use to close the Algorand account generated by the Nano-S, without reporgramming the Nano-S every time?

A beautiful and working solution can be found here:

Coffee donations are welcome: TIPKTP7LNT2SZ52445YP2YSZJQV53Z4FSJSIWLMKTSABZIVQ4L73U2QC3A

See the source on Github: