Changed how hash stream managed callback