corrected socket ownership