force curl to return to code, not screen