add function to test pid of app
add queue for net message[there not the same on thread'pid between recive and socket event]