add ref to worker here
Merge branch 'master' of https://github.com/krakjoe/pthreads