Fix for duplicate SQL messages issue

Ensure the state is reset correctly in the read loop when notification is received before state can be changed to expected value.

#2988
No. The bool returned from the call to `StartSqlDependencyListener` is used to set `useNotifications`. If that is `true`, the state cannot be `Disabled`. If it's `false`, then this assignment block won't be entered.