scrot: Keep on trying until it works

This can bug if scrot can't grab the keyboard at that time.