Introduce retry_mysql to simulate operation in CloudN RDB Gateway