high perf. socket applied
clean up
limiting memory usage