trying to make the events (ondatanotsent, onreconnect) more... eventy