Fix kafka handle truncated messages