Ensure Update/Render thread does not go to sleep too early