Fix rabbit integration test hangs