implemented NoThreads version meant for debugging
that only starts one thread, the connection thread