Ripon city centre pub closes for 'forseeable future'