Check for EOF on the serialCommunication module
If Cura has terminated, stdin will be in EOF which will cause the readline
to return an empty string. By catching that, we will be abl to quit
instead of spamming stderr with [''].
Fixes #63 and possibly issue #45 as well.