[server] fixed a bug in controller
[server] controller don't remove pidfiles when exit
[server] improve controller

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