After forking in the child, re-create exception port and exception thread, and re-register the (only) thread with that port. Copied from Perforce Change: 193755