Nitrogen energy storage system maintenance