Wrap limit_completions() with a cleanup