Added Process exit codes to end the node processes