Removed some unused imports
Puts cap on maximum er of exceptions reported

Fixes #307
Merge pull request #309 from hazelcast/fix/307-cap-on-exceptions

Cap on exceptions