Close socket to allow multiple calls to Discovery.search
Merge pull request #1 from hawknewton/master

Close socket in Discovery.search