setting delay only works on mock server