bugfix: endless loop on lost backend connection