The court may decline to render or enter a declaratory judgment where such judgment, if entered, would not terminate the uncertainty or controversy giving rise to the proceeding.