Made sure that we unregister the OnConnectionShutdown event before we
close the Rabbit connection. This prevents the reconnection logic to kick
in