Cosmetic fix.
Stop calling onDataReceived() after closeConnection().