check curl result for return value 'false'