adding catch to ECONNRESET and retry to rake task