closing unix socket when swamp is closed