Merge "Add debug for PrintWriter hanging"