cleaning
remove publisher handles on shutdown
handle shutdown being called by user code or multiple times properly. getting a little messy, some refactoring of shutdown code would be nice
improved inlineCallbacks cancellation, used in shutdown sequence