working on session management for async operations (jobs and taskfactory)