add thread ordering deadlock example and solution from Goetz