added close session id and changed boolean for closing an init txp connection