Bump version to 1.1.42-beta9. Check the pipeline endpoint before trying to close it