OnionScan was having issues with larger batch runs do to
failure to close network connection once they had been used.
This commit fixes this issue, as well as adds a quick exit from
the main OnionScan loop due to timeout - once the timeout is crossed
no further protocol scans will take place.