Removed threads in netmanager, need to figure out better way to do things