Reduce the complexity of manager_call_process_request function