move waitBackendReady back to submitTasks method