Loop interview question

How to deal with closing?