This adds an exit flag as well as the proto_agent_async_msg_recv_unlock() function to unlock and release the proto_agent worker thread correctly.
This adds an exit flag as well as the proto_agent_async_msg_recv_unlock() function to unlock and release the proto_agent worker thread correctly.