protect agains watching closed unix socket