PCP-361 Add explicit close to the api
PCP-361 Add explicit close to the api

Earlier example uses of this code didn't have a lifecycle that really needed a
close method, so as an oversight this was missing leading to a more error-prone
attempts to shut things down by restarting Eventmachine repeatedly.

puppetlabs/ruby-pcp-client