core::rt: Fix TCP test on mac