raise distict exception on socket connect