GH-70 , GH-71 and Checkstyle fixes

GH-71: Added a counter track retries for job submissions.
Fixed some checkstyle errors.
They are fast properties and can be controlled dynamically.