close the cURL session on destruct
return array when $first parameter is false