Only check pidfile if it exists.