Add new max attempts before retry to optimist, update README