Harrogate primary school set to close