Automatic render shutdown

Closes #180
I would prefer to `break` here.