use mulitiple thread to check port