page-server: wait when a socket will be closed only if it isn't external
page-server: wait when a socket will be closed only if it isn't external

External socket can be used for other purpose.

Reported-by: Adrian Reber <a1b909ec1cc11cce40c28d3640eab600e582f833@lisas.de>
Signed-off-by: Andrey Vagin <74c05afa918858348d6db8037d82fa8124870113@openvz.org>
Acked-by: Adrian Reber <a1b909ec1cc11cce40c28d3640eab600e582f833@lisas.de>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

ldu4/criu,fbocharov/criu,KKoukiou/criu-remote,ldu4/criu,tych0/criu,eabatalov/criu,KKoukiou/criu-remote,wtf42/criu,ldu4/criu,ldu4/criu,fbocharov/criu,tych0/criu,efiop/criu,efiop/criu,wtf42/criu,eabatalov/criu,efiop/criu,svloyso/criu,eabatalov/criu,efiop/criu,fbocharov/criu,eabatalov/criu,AuthenticEshkinKot/criu,svloyso/criu,tych0/criu,wtf42/criu,eabatalov/criu,KKoukiou/criu-remote,efiop/criu,svloyso/criu,svloyso/criu,ldu4/criu,KKoukiou/criu-remote,svloyso/criu,fbocharov/criu,tych0/criu,tych0/criu,efiop/criu,wtf42/criu,AuthenticEshkinKot/criu,AuthenticEshkinKot/criu,svloyso/criu,fbocharov/criu,AuthenticEshkinKot/criu,wtf42/criu,KKoukiou/criu-remote,AuthenticEshkinKot/criu,wtf42/criu,ldu4/criu,eabatalov/criu,tych0/criu,KKoukiou/criu-remote,AuthenticEshkinKot/criu,fbocharov/criu