Workaround for SQL queries waiting https://github.com/orientechnologies/orientdb/issues/1824 to be fix