read all bytes in one go from serial instead byte-at-a-time
fixed bug, where response was not included in errormessage