Add poll target testcases

Signed-off-by: Thynson <lanxingcan@gmail.com>
Fix poll_target

Signed-off-by: Thynson <lanxingcan@gmail.com>
Detach async_procedure from list bedore call them

This make it possible for an async_procedure to do recursive
works

Signed-off-by: Thynson <lanxingcan@gmail.com>