Don't emit data events if we closed the client.

#263