heroku cancel code example
Example: how to stop build in heroku
heroku plugins:install heroku-builds
heroku builds:cancel -a YOUR_HEROKU_APP_NAME
heroku plugins:install heroku-builds
heroku builds:cancel -a YOUR_HEROKU_APP_NAME