try to get response to flush via closeGracefully