Add pthreads for receivers