Resource leak in statsd_release

statsd_release doesn't close the socket that was opened in statsd_new.

BTW, the same problem occurs when using statsd_init. But there is no function to release the resources allocated by this function.

I will submit a patch to fix these problems.