JBIDE-13302: Entities generation is running in UI thread and causes IDE freeze when it cannot connect to DB