simple example of the "deadlock" being caused