logging exception if it isn't a CancellationException [fixes #373]