Cancel build for a pull request if the pull request is closed

@henrikhodne: What do you think?

#### TODO:

- [ ] Handle multiple builds correctly.