linux: add max-time and curl in background