add retry on mysql operational errors