*** Avoid opening session on general error