Split up 'executeCommand' a bit more neatly
Only delay when retrying polling statements

When executing a statement that requires polling, we delay (default 100ms)
between firing the event - even when the command succeeds on the first try.
This change removed the delay in that case.