Fixed GitHub issue #1.

I've only tested on Linux thus far (Windows may yet break my solution),
but lnsd doesn't crash when the network is down.