Remove the nvault_close() calls except for at plugin_end().
Also, it would be better to save it as seconds, and then calculate to minutes when displaying it.
This would make it more accurate for those leftover seconds that weren't part of a full minute.