Fixed a bug with finishing the bootload mode.
Now never use the readline function to avoid issues.