WIP: -j option (added deadlock test)