Make request->child_pid into request->thread_id

There's no reason to use a pthread ID.  We can just expose
the thread number.  This makes it easier to debug threading issues