refactor analyzer the gzip thread