Queues a custom network task in pos that may or may not change the network state. The task then returns whether the network state was changed.