Revert "iodelay instead of iosleep"

This reverts commit e8e6994a40785c731436f232bf579f74eec8de99.