Fix issue #8: Bug in concurrent uploads
Add interrupt() function for stopping the runloop