Reconnection bugfix

+ tests for rabbit disconnection