comentar hb_threadWait pois hb_threadjoin ja faz isso