I did the same thing once for a dialog box on an iPhone app. The check would fail instantly if the phone was offline. It didn't feel "right" and we didn't really have the time to change the UX so I just added a random delay of between 1.0 to 1.5 seconds. Still in production today.