Fix posting so that it only pushes changes on Internet connectivity