Added http context item disposal logic