Implemented a reconnect mechanism with a maximum of 5 attempts when the WebSocket disconnects. Added methods to start and stop a timer that handles reconnection logic. Enhanced WebSocket connection management to reset reconnection attempts on successful connection.
Implemented a reconnect mechanism with a maximum of 5 attempts when the WebSocket disconnects. Added methods to start and stop a timer that handles reconnection logic. Enhanced WebSocket connection management to reset reconnection attempts on successful connection.
Resolves #29