Feature Request: Add maxRetry option for curtain
### Problem

The BLE connection often fails on the first attempt

### Solution

Add maxRetry option

### Alternatives

_No response_

### Additional context

_No response_