Clear pending after receiving sv_done

Add TODOs