Tells the system that the program is no more working on the stat variables.
This function must be called when the work on the stat variables is finished.