Supressing output
Function for closing statistics database. Multiple memleaks removed