add more debug output to diagnose timeout issues