It's not optimal, but you will be fine.

Take your shot right before you leave, and right when you get back.