Fix a bug when fork a task cannot as same as it's parent.

N/A

Signed-off-by: yudatun <yudatun@gmail.com>