exit after headers are set to xsend