fixed deleting layout file causing socket to be deleted even if other layout with same names exists