Currently, losing the connection to the database results in things silently failing. This is bad.
The correct behaviour should probably be for a warning message to be displayed on the screen, and any events during this period to be dropped. During this time the system should attempt to reconnect. Alternatively, some events could be buffered.