Commented out the code that keeps client connection alive. Added flags to compiler to support openMP