clean up of agent related URI registration