We should wait for the buffer to fill up to 12 bytes instead of simply assuming it will. Possible fix for #1273.