cmake style
Handle boost errors (when an operation is cancelled)