join threads to make helgrind happy