injector: clear is done through a request instead of directly in the state
What, why, who
Transform the clear RPC of the injector to be a request.
This is necessary for !15929 (merged) because otherwise there is invariant of the heap structure that could be violated. This is because the heap is not thread safe.