Removed debug hang loop