Added potential deadlock example.