Make network async. Problem with stack overflow.