- Replaced match expression with if-let for cleaner error handling. Reduced nesting and improved readability of the timeout handling code.
- Replaced match expression with if-let for cleaner error handling. Reduced nesting and improved readability of the timeout handling code.