Connection working, trying 1 thread, logging still not fixed