/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h
The proper way to disconnect a given World and NetDriver. Travels world if necessary, cleans up pending connects if necessary.
void HandleDisconnect ( [UWorld](API\Runtime\Engine\Engine\UWorld) * InWorld, [UNetDriver](API\Runtime\Engine\Engine\UNetDriver) * NetDriver )