Properly close tcp conn when close-timeout or receive Disconnect Packet