spari-api: Retry after initial connection failures.

The code was (incorrectly) failing to retry if the initial event
listening connection disconnected. It will now retry after 20 seconds.