file close because grant is too fast