nonblocking working needs, memory cleanup