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