Ignore incoming packets if connection to server was closed.
Rewrote event reporting test.