Added support for multiple concurrent uploads

Fixes #1