Fix reload traversal

**Note:** Please review! I'm not 100% sure that this is the right way to go. In a simple test script with some `echo` and `sleep` it worked fine, though. 

the reload worker is now terminated gracefully... it seemed that otherwise it might stay alive and affect successive tests