check the serial port device is still available when calling to see if it is still open.
Merge branch 'groovy-devel' of https://github.com/stonier/ecl_core into groovy-devel