gh-515 Fix handling of errors that occur before search starts sending.
gh-515 Fix handling of errors that occur before search starts sending.

gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom