GH-70 , GH-71 and Checkstyle fixes

GH-71: Added a counter track retries for job submissions.
Fixed some checkstyle errors.
These seem like good candidates for fast properties so we could control them dynamically. I believe that all is available in OSS.