simulates a flaky backend