Fix #40: Hangs when receiving a value > 250 bytes.