Added a try/except to catch the kill command messing up ser.read