Rework grequests to have common error handling and be more flexible in usage