multiple file sending race condition fix

#533 fix