Added missing 'DocumentSession.dispose()'.