Add support for jdk8 in travis
Remove unnecessary jdks for testing purposes
Fix disconnect socket closing to make it work with java 8
Add again other jdks