Fixed network_thread stack-overflow issue by increasing THREAD_STACKSIZE value.