Just take one per connection, rather than implementing a counting mechanism.
Created attachment 236653 [details] Fix
Transmitting file data ........ Committed revision 172629.