Remove DEBUG constant and usages.
Remove stack trace print in NetworkIO.