Server connection counter is updated in closeSession

Server connection counter is updated in closeSession
Server connection counter is updated in closeSession

Server connection counter is updated in closeSession
fix for bug 216