Asymptotics of solutions of the Neumann problem in a domain with closely posed components of the boundary