If the process is running returncode will be Node, otherwise it will have some value (which can be 0 s well) and the current code treats 0 as if the process is still running. Closes scylladb/scylladb#27490
mc