print warning if writepid fails