account for reading the buffer and the message being too big.