add decorator to retry if function returns False
Merge pull request #2 from massakai/feature/decorator

add decorator to retry if function returns False