changed portscanner to use a simple thread instead of a ExecutorService. Needed to have more control.