mock is not closing the connection any more and sending less events