Fixed check for any remaining clients before unsubscribing from Redis key.