JBTM-1650 updat to set session TPEV_DISCONIMM when socket closed
JBTM-1650 don't set TPEV_DISCONIMM on windows