Check out example codes for "Your account has reached its concurrent builds limit". It will help you in understanding the concepts better.

Code Example 1

$ heroku plugins:install heroku-builds
$ heroku builds:cancel
$ heroku restart

Code Example 2

heroku builds:cancel

Learn ReactJs, React Native from akashmittal.com