Added IntermediaryResultHandler, support for logging intermediary results before timeout.
Merge remote-tracking branch 'origin/master'