Lossless event delivery

Added support for lossless event delivery

This way if the flag is set to true, the event is only delivered and deleted from the queue whenever a matching subscriber is registered.