FD leak when devd not available
In devdthread.cpp a socket is opened on line 104; if the subsequent connect() on 109 results in an error, the file descriptor is not closed, resulting in a leak. Adding close(s) to the if() {...} starting on 110 at least prevents the leak, might also think about exiting the process if devd is not available?