HPCC-8938 - Exception can cause sort partition deadlock

Need to ensure next in asyncfor loop is signalled to continue
to avoid deadlock.
Also add a stack trace when roxiemem runs out of memory.