Fixed issue with async using a closed session.