fixed a few idling issues with thread handling
fixed a few idling issues with thread handling

gpertea/stringtie,gpertea/stringtie,gpertea/stringtie,gpertea/stringtie,gpertea/stringtie,gpertea/stringtie