Description
It would be nice to overload the above mentioned method with a boolean parameter which indicates if a new DataConnectionFactory is to be created. Currently, we always create one if one does not exist already for the session. We try to create one even when the session is closing (for example when the control connection is refused by the blacklist filter), which does not make much sense. Having this overloaded method would be useful when the session is closing.