Example service for liveness
Fixes for potential leaks found via clang --analyze