Stop encrypt when no data is available.