Adds an after fork hook for workers.

Puts in an after hook for stuff like setting up a metrics reporter.