Fixed jeromq context/socket closure

contexts and sockets now close gracefully. FYI, as a side note, i'm a little confused about KernelExtensionFactory#getStringLogger. At this point, the instance of StringLogger (both as a plugin and standalone) doesn't print to stdout. Is this a configuration problem or an implementation problem?