Json parser moved to client utilities + added loop shutdown to network client close method