Added retry logic.

Fixes #40 
Space before `{`