Wait only for worldregen shutdownhook to finish.