Added retry logic.

Fixes #40 
Space after the comma in the array