Cancel multiple running instances of a Cloud Flow using PowerShell

Have you ever had a cloud flow that causes infinite loop? And after turn it off you still have hundreds or even thousands of running instances?.
Then you are not alone, let me walk you through this blog post to show you how you can leverage PowerShell to cancel all those running instances with small script.