Added a way to cancel downloads. Fixes #35