adding code to view hung processes