fix issue with reconnecting to rabbit

Invalid state change call prevented reconnecting code from executing