Add a limit on the total data transferred.  Fixes #1.