Minor: add check in pool and other minor things
Merge branch 'master' of https://github.com/nuvolabase/orientdb