remove pthread
not doing anything if nothing above threshold