fix race condition on access to inited variable
Merge pull request #22 from SergeyVasiliev/netutil_race

fix race condition on access to inited variable