GH-70 , GH-71 and Checkstyle fixes

GH-71: Added a counter track retries for job submissions.
Fixed some checkstyle errors.
The /1000 is just to print a nice message in seconds thats all, instead of the ms. The sleep call still takes milliseconds.