Happy compiler

Fixed two compiler warnings: one is about not returning from canceller thread and another one about reordering of fields initialzation in constructors.