Rework farmer register task processor.
Signed-off-by: Yi Min Zhao <zyimin@cn.ibm.com>