managing multiple connexion per session - this commit is unstable