Finish implementing ANTNetworkClient thread-safety and cancellation support.