more deadlock testing
updated Worker.java