renamed disconnect to close.