Historic Harrogate pub to close