Added BServerRegistry.done in order to shutdown thread pool in
HRemoteRegistry