Wait until the first guard passes by before making your move.
[
close window
]