Added abort in HandleData. Will send a stop message to the server.