Moved the dumper thread out of the inner class, to resolve some unchecked exceptions in client code