Adding a filter based on connection errors. Trimming down the curl retry codes