Using wait/notify is the way to go.
Right now this kills and it becomes really hard to debug things.
Using wait/notify is the way to go.
Right now this kills and it becomes really hard to debug things.