[server] improve controller

Don't restart process if reading pidfile failed, except with ENOENT