threads are detached now , and this takes care of a weird bug on a high amounts of threads