try to start the session a second time if first time fails
only disconnect from a session if session is not null
fix wrong singleton use and remove useless getter