Sometimes the first click doesn't actually work, so call click up to 5 t...

...imes.

This seems to fix the sporadic failure (at least on my machine).