Disconnect implemented. Covered by tests.