PULL-548: add close, proper handling of reset on construction