[BUG] Terminal tool gets stuck after exit code

This is not a fix