Don't use pidfile if we're in foreground mode