Stop the Stats daemon properly when killed.

The Stats daemon was leaking a socket when killed (after closing
Circus for instance). It was an issue when using an IPC socket for
stats_endpoint, as the socket file was not being deleted.
Merge pull request #843 from k4nar/close_statsd

Stop the Stats daemon properly when killed.