Added a default sleep time to deadlock examples.