BackendSession: connection optimization