fixing crash if scout socket errored