added error messages in case the backend drops dead