Add flush and verify no outstanding request for http mocking