raise connection errors in socket space