It seems sometimes the executor is not cleanly shutdown, resulting in the tests to hang even though all tests completed successfully.