enhance error handling on backend down