fixed tcp disconnect