Catch ECONNABORTED.
Some improvements.