fix issue with reconnecting to rabbit