fix socket cross page

Signed-off-by: miaojian <kitemao@gmail.com>