Add condition-based thread sync
Add thread that just calls Runnable.run() in loop
Use BlockingBoolean for thread sync
Put lock.set() in finally block
Use BlockingBoolean for thread sync