[WS] NullPointerException on session close