Fix NetworkOnMainThreadException in ClientSocketManager's connect() method