disconnect from server blocking socket

I want a blocking socket, so I useSetNonBlocking(false), but it doesn’t work, FSocket->HasPendingData() would not pen