NetworkAccessManager working in a another thread