Officials Wednesday said that some pockets of resistance remain as coalition forces work to secure Iraq 's third-largest city .