*** 74,81 **** --- 74,82 ---- retAttrs = ctx.getAttributes(KEY, new String[] { "IN *" }); DNSTestUtils.verifySchema(retAttrs, MANDATORY, OPTIONAL); } finally { DNSTestUtils.cleanup(ctx); + DNSTestUtils.cleanupClosableRes(socket); } } }