add SSL auto-retry mode for read/write operations