TYRUS-313: Maximal number of open sessions per application
TYRUS-313: removed redundant null check