Cleanup the delegation state.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>