Revert use of usleep as this seems to break older iDevices