The failed test raises exception and does not return from wrapped_f, so the test execution is stuck in queue. How to handle it?