Hi Martin,
Axon as of 4.3 employees a grace full shutdown solution, making sure everything is closed and unsubscribed at the right time.
This solution should automatically kill everything at the end of an integration test as well, although it indeed might need some time.
So, without knowing the version you are on, I would recommend to move over to the latest (currently 4.4.2) to benefit from this.
If you already are on 4.3 or higher, then that warrants an investigation in more detail for which more information than "all of the connections, threads, etc".
Trusting this will help you further Martin!
Cheers,
Steven
PS. It is important to note that this mailing list will be discontinued as specified in this
thread.
Instead of this mailing list we have moved to use a forum style of communication, at
https://discuss.axoniq.io/.
Hope to see you there!