adding some error checking and returning for Close
Merge branch 'master' of git.curoverse.com:lightning