The implementation in the IndexControl is not using finally blocks to dispose of resources which need closing.