Knaresborough level crossing could close after ‘shocking’ number of near misses