Add support for a true idle loop.