Fix 'forever stalled' bug.