@Deprecated
    public boolean checkTag()
    {
        return active;
    }
@Test
    public void testSeveralPendingInprocSocketsAreClosedIssue595()
    {
        Ctx ctx = ZMQ.init(0);
        assertThat(ctx, notNullValue());

        List<SocketBase> sockets = new ArrayList<>();
        for (Sockets type : Sockets.values()) {
            for (int idx = 0; idx < 3; ++idx) {
                SocketBase socket = ZMQ.socket(ctx, type.ordinal());
                assertThat(socket, notNullValue());

                boolean rc = socket.connect("inproc://" + type.name());
                assertThat(rc, is(true));
                sockets.add(socket);
            }
        }
        for (SocketBase socket : sockets) {
            ZMQ.close(socket);
        }
        ZMQ.term(ctx);

        assertThat(ctx.checkTag(), is(false));
    }