make sure that the serial port doesn't open more than once...

fix for https://github.com/automategreen/home-controller/issues/15