Better location to flush responses from

This way it should handle the issue arising at any point