Add option to close the discovery connection after initial channel sync

Fixes #13