Added support for the app to disconnect while receiving packets from the
server.