Reduce CPU usage while waiting for the engine

Resolves Debian bug #419855.