added try catch around appsoma_cpu