Update thread_gzip.cpp

why do you return here?