Added a try get target from cache task.