catch case where pidfile is empty