run curl in background