Changing endpoints
Using REST API to verify if the job is still running.