fixed disconnect test failing on travis