Improve logging and clarify source code in regards to cancelling build orders. May fix ticket:3862.