check for deadlock; can't recover gracefully if it happens