Fix list process and bossrpc process exit handler. Only restart process if exit code was bad.