Reinitialize the event base after forking.