Split up code block which can not be executed in one terminal.