+Fix a bug where the respons was prematurely closed