Process exits on its own

should now clear the stats stream interval properly and allow the event-loop to exit on it's own.