Make sure the daemon wrote it's pidfile before the forking process exits.

Refs #6118