Add debug information when a backend is being slow
This can help us detect what's wrong whenever a backend gets stuck, which seems to happen every now and then.