Raspbootcom, fixed: unterminated RX string leading to garbage output
Make sure file descriptors are not leaked after use.