Clear Function context after function call (clean up)