I am running Kyua on my FreeBSD VM.
One testing program would launch a jail and operate the jail network, and before so, it would create epair interfaces.
I found that it did clean up when the test fails or successes. However, when the test fails in initialization stage, the epair interfaces would not be destroyed.
I guess this is a bug on Kyua.