Cleanup integration loop.