fix issue where server was haning in disconnect
adjust to new format containing dots