fix a race condition in process group setup, fixes #3353
also fixes the occasional "no method convert(Type{Int64},Symbol)"