invoke curl to background