avoid main thread network Exception