Tune NewPortScan functionality to reduce system calls.