Add the netstat log and session close