added helper function for detaching connected sounds