[PATCH 3.18 12/90] swim: fix cleanup on setup error