Added iOS thread sleep possibilities