Cancel forever running build

How can I cancel a build?