Clean up immediate function container.