Add receive buffer length's limit to avoid fatal