SociHelper: retry with the freshly reconnected session when a retryable SQL error occures

Merged François Grisez requested to merge fix/soci_helper__retry_with_same_connection into release/2.0

Before this commit, the failing session was reconnected but another one was picked from the pool to do the second try. Then, if new session was dead too, the second try was failing whereas it would have succeeded with first session.

Merge request reports