Terminate code block