fix connection refused errors hopefully

Change-Id: I73593f16feb3876dd7f670d9bf0170fd557314e3