Add RESUME_ON_RECONNECT logic
Add RESUME_ON_RECONNECT logic