a shutdown hook, is never a solution because it adds more trouble, as you said it runs in its own thread and I don't want to have any explicit concurrency thing in JaySpec