Initial work for killable build jobs

* [ ] Jobs should be terminated after a predetermined timeout.
* [ ] Jobs should be killable through the REST API.