Still lots of clean up needed, but now the netowrk calls don't block the UI thread. Apparently the timer ticks are executed in the UI thread.