All threads are detached so there is no need to join them and it may dereference causing crash on exit.