SQLITE_IOERR also need to be handled by retires