Add new async process for calculate latency average & add some commands for change setting.