Fixed multiple dispose being called