Revert "try using write_handler_response; doesn't fix it"

This reverts commit a0410288fa9aa2e9d0bbbdb0dabd6b50340ab8fc.