Section 38F. An inmate shall not file any claim that may be the subject of a grievance under section 38E unless the inmate has exhausted the administrative remedy established pursuant to said section 38E; but the court may consider such claim if a final administrative resolution of a grievance filed pursuant to said section 38E has not been decided within 180 days from the date of filing such a grievance, or if the inmate can demonstrate to the court that exigent circumstances exist which, if delayed pursuant to the requirements of this section, would jeopardize the life or seriously impair the health of the inmate, or, for actions seeking equitable relief.