Implemented fix to ensure hub connection is restarted.