finish

fun finish()

Tell a task to finish on the next iteration of poll.