“Where the claim for substantive relief appears doubtful, whether by virtue of a challenge to the jurisdiction, or otherwise having regard to its subject matter, the court should judge the application with caution. The more doubtful it is, the more cautious it should be.”