reset connections after each upload