fixed hang on multiple pass to sender.cc bug