fix client panic while recv invalid pdu.