ensure broker stop ocurrs after subs connected and add defensive check to close identified by one failure scenario