add reuse port judge in runtime