Costa has confirmed the closure of one of its high street coffee shops after more than a decade in town.