Just to add some new info.
I fixed a couple of problems in my code and reconnection after first failure has never failed again since then.

Ciao,
Emilio Bova