In #24789, I forgot to stop the node before using assert_start_raises_init_error in feature_coinstatsindex. This resulted in a bitcoind process that is not being terminated after the test finishes.
feature_prune has the same problem and also creates a zombie bitcoind process.
Also adds an assert to assert_start_raises_init_error to make sure the node isn’t already running to prevent this sort of mistake in the future.