more graceful handling of missing pidfile, #1395
fixed #1395