Update thread_dump.sh