Fix uninitialized variable in socket run

Signed-off-by: Jeff Horn <jhorn@reachtech.com>