Added curl timeout and json_decode error turned off