adjust error msg when frontend has lost connection to backend