[PAXEXAM-609] Correct order of acquired locks to avoid possible deadlock
[PAXEXAM-609] Use immutable locks to synchronize shutdown process
Merge pull request #20 from ops4j/ggrzybek

[PAXEXAM-609] Correct order of acquired locks to avoid possible deadlock