Well, if the ER of the planet is not between 1 and 2 it will make debt regardless of everything else, I believe. If oyu just want to stop it, just set it open to crewlist, and that will shut down its FI ability, both positive and negative incomes.