Fixed web mocking running unused loops