move events-history to work more in event driven way.
it fix catching events that arent really generated by user (socket.io used this same method to generate some it internal events)