issue: 440676 removing serversession on C side only once teardown event was read on java side

Change-Id: I32e9390aa406ad2f87fcf9759ae4ce3fc17b3515