abort sent messages prior to calling close callback