Properly runs the collector in the windows service