Forgot to add a shutdown method to metrics service to cleanup writer.