Network code runs in seperate thread and has permission