Added a possibility to specify maxIdle connection pool setting (using configuration property MAX_IDLE)
More robust sleeping
Specified source version for maven-compiler-plugin so project can be built by Maven