Avoid adding a nil connection