shutdown Hub on finishing