Stop the Stats daemon properly when killed.

The Stats daemon was leaking a socket when killed (after closing
Circus) for instance. This was essentially an issue when using an
IPC for stats_endpoint, as the socket file was not being deleted.
Merge branch 'close_statsd' into onitu