When I perform curl command with API to get somethings in large database. Curl immediately returns the process number and after some minutes it returns the result