process waitall hangs