Dissolution of droplets in confined leaky channels