Teensyduino - keeps losing COM port

Trying to load my first sketch into a Teensy 3.2

Followed all the tutorials to install Teensyduino, drivers etc., and all appears good.

I select my COM port (COM7 (Teensy)), and uplaod my sketch.

After compiling, i get 8 error messages (in red) “gettimeofday”, and the COM port drops out, the teensy window says “Unable to Reboot”.

A couple of seconds later, the COM7 port comes back.

Anyone know what is happening and how to fix it please…

I've actually tried another sketch, the Example sketch called EchoBoth, and it is in fact loading and working correctly, but I still get the 8 "gettimeofday" errors, and the port drops and returns a couple of seconds later.