Population Extinction and Optimal Resource Management