Provided a destructor to the class ArangoServer so that the statistics thread can be stopped and the statistics data freed when the application terminates.
If the statistics are disabled, the statistics thread is not created.
Initialized to 0 some pointers of the class ArangoServer in the constructor.