Fixed statsd collector when stastd is down

Code to reproduce:

    <?php

    // Note: nothing listen on port 12345!!
    $fp = fsockopen("udp://localhost", 12345, $errno, $errstr, 1.0);
    var_dump($fp, $errno, $errstr); // Everything OK
    fwrite($fp, "1"); // OK
    fwrite($fp, "1"); // KO
    fclose($fp);

    echo "END";