The stop function must use the API of each node instead of the localhost api
The stop function must use the API of each node instead of the localhost api