performance optimizations for write speed and fix to recover thread exceeding issue with a configured wait
Merge pull request #103 from hastef88/performance_optimization

performance optimizations for write speed and fix to recover thread exce...
Unused imports, missing stack traces in logging, resource handling issues and java doc issues fixed.
copyright updated