Behavior of solutions of the Poisson equation under fragmentation of the boundary of the domain