The court may refuse to render or enter a declaratory judgment, when, if rendered or entered, it would not terminate the uncertainty or controversy giving rise to the proceeding.

L.1951 (1st SS), c.344.