fixed blocking code in case of startup failure. issue #3184
Merge branch 'develop' of github.com:orientechnologies/orientdb into develop
Merge branch 'develop' of github.com:orientechnologies/orientdb into develop