Initialize or unload after a fork. (cherry picked from commit 6be67eee) Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67