MULE-7803: Thread leak on inbound HTTP connections

this kind of assertions are flaky. Another test might be stopping or a thread not fully collected. Is there a way to do this differently? Or at least check that the thread is from the right classloader? (I'm not actually sure if classloaders are reused between tests)