replace connection abort by socket not connected